package e.odbo.data.dao;

import e.odbo.data.bean.IKeyed;
import e.odbo.data.bean.I_BaseBean;

public interface I_DAOInterceptor<T extends I_BaseBean> {
    boolean beforeInsert(T obj);

    T afterInsert(T obj);

    boolean beforeUpdate(T obj);

    T afterUpdate(T obj);

    boolean beforeDelete(IKeyed obj);

    void afterDelete(IKeyed obj);

    boolean interceptorAble(Class beanClass);
}
